import { App } from "vue";
import Input from "./input";
import Button from "./button";
import Modal from "./modal";
import Head from "./head";
import Cover from "./cover";

const components = [Input, Button, Modal, Head, Cover];

export { Input, Button, Modal, Head, Cover };

export default function (app: App) {
  components.forEach((item) => app.component(item.name, item));
}
